<template>
  <div class="send-modal">
    <div class="modal-header">
      修改登录邮箱
      <mds-icon type="close" />
    </div>
    <div class="modal-content">
      <div class="send-email">
        <i class="icon-email"></i>
        <div class="msg">验证新登录邮箱</div>
        <p>
          感谢注册！确认邮件已发至您的登录邮箱！
          <br />请进入邮箱查看邮件，验证登录邮箱
        </p>
      </div>
      <div class="explain">
        <p>没有收到邮件？</p>
        <p>1.检查你的邮箱垃圾箱</p>
        <p>
          2.若仍未收到确认，请尝试
          <b>重新发送</b>
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formValue: {
        oldPassword: '',
        newPassword: '',
        truePassword: '',
        verificationCode: ''
      }
    }
  },
  methods: {
    onSubmit() {
      this.$message.warning({
        content: '操作过于频繁，请稍后再试',
        duration: 3
      })
    }
  }
}
</script>

<style lang="scss">
.send-modal {
  .containerbox-tab_item {
    position: relative;
  }
  .mdsicon-close {
    position: absolute;
    font-size: 10px;
    right: 0;
  }
}
</style>
<style lang="scss" scoped>
.send-modal {
  width: 560px;
  height: 382px;
  margin: 70px auto;
  background: #fff;
  padding: 24px 20px 24px;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  .modal-header {
    padding-bottom: 8px;
    padding-left: 18px;
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: rgba(53, 64, 82, 1);
    line-height: 24px;
    position: relative;
  }
  .modal-content {
    padding: 16px 20px;
    .send-email {
      border-bottom: solid 1px rgba(216, 220, 230, 1);
      padding-bottom: 24px;
      .icon-email {
        display: block;
        width: 48px;
        height: 48px;
        background: url(../../../assets/registration_img/mail.png) no-repeat
          center center;
        background-size: contain;
        margin: 0 auto;
      }
      .msg {
        text-align: center;
        margin: 16px 0 28px;
        font-size: 16px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: rgba(53, 64, 82, 1);
        line-height: 24px;
      }
      p {
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(127, 143, 164, 1);
        line-height: 22px;
        text-align: center;
      }
    }
    .explain {
      padding-top: 16px;
      p {
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(127, 143, 164, 1);
        line-height: 22px;
        b{
          color: #1677FF;
          font-weight: 500;
        }
      }
    }
  }
}
</style>
